how to determine the solutions of a quadratic